package com.ruoyi.apartment.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 公寓管理对象 human_apartment
 * 
 * @author leo
 * @date 2024-10-11
 */
public class HumanApartment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 公寓id */
    private Integer apartmentId;

    /** 公寓名 */
    @Excel(name = "公寓名")
    private String apartmentName;

    /** 图片信息 */
    @Excel(name = "图片信息")
    private String apartmentImage;

    /** 省市 */
    @Excel(name = "省市")
    private String apartmentAddress;

    /** 状态 */
    @Excel(name = "状态")
    private String apartmentState;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String detailedAddress;

    /** 删除字段 */
    private Integer isDeleted;

    /** 配套设施 */
    private String amenities;

    /** 朝向 */
    @Excel(name = "朝向")
    private String apartmentFace;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 占地面积 */
    private BigDecimal apartmentArea;

    public void setApartmentId(Integer apartmentId) 
    {
        this.apartmentId = apartmentId;
    }

    public Integer getApartmentId() 
    {
        return apartmentId;
    }
    public void setApartmentName(String apartmentName) 
    {
        this.apartmentName = apartmentName;
    }

    public String getApartmentName() 
    {
        return apartmentName;
    }
    public void setApartmentImage(String apartmentImage) 
    {
        this.apartmentImage = apartmentImage;
    }

    public String getApartmentImage() 
    {
        return apartmentImage;
    }
    public void setApartmentAddress(String apartmentAddress) 
    {
        this.apartmentAddress = apartmentAddress;
    }

    public String getApartmentAddress() 
    {
        return apartmentAddress;
    }
    public void setApartmentState(String apartmentState) 
    {
        this.apartmentState = apartmentState;
    }

    public String getApartmentState() 
    {
        return apartmentState;
    }
    public void setDetailedAddress(String detailedAddress) 
    {
        this.detailedAddress = detailedAddress;
    }

    public String getDetailedAddress() 
    {
        return detailedAddress;
    }
    public void setIsDeleted(Integer isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted() 
    {
        return isDeleted;
    }
    public void setAmenities(String amenities) 
    {
        this.amenities = amenities;
    }

    public String getAmenities() 
    {
        return amenities;
    }
    public void setApartmentFace(String apartmentFace) 
    {
        this.apartmentFace = apartmentFace;
    }

    public String getApartmentFace() 
    {
        return apartmentFace;
    }
    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }
    public void setApartmentArea(BigDecimal apartmentArea) 
    {
        this.apartmentArea = apartmentArea;
    }

    public BigDecimal getApartmentArea() 
    {
        return apartmentArea;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("apartmentId", getApartmentId())
            .append("apartmentName", getApartmentName())
            .append("apartmentImage", getApartmentImage())
            .append("apartmentAddress", getApartmentAddress())
            .append("apartmentState", getApartmentState())
            .append("detailedAddress", getDetailedAddress())
            .append("isDeleted", getIsDeleted())
            .append("amenities", getAmenities())
            .append("apartmentFace", getApartmentFace())
            .append("createdAt", getCreatedAt())
            .append("apartmentArea", getApartmentArea())
            .toString();
    }
}
